<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\api\error;

class Common
{
    
    public static $passwordError            = [API_CODE_NAME => 1010001, API_MSG_NAME => '用户名或是登录密码错误'];    
    public static $usernameOrPasswordEmpty  = [API_CODE_NAME => 1010002, API_MSG_NAME => '用户名或密码不能为空'];   
    public static $registerFail             = [API_CODE_NAME => 1010003, API_MSG_NAME => '系统繁忙，请稍后重试'];    
    public static $oldOrNewPassword         = [API_CODE_NAME => 1010004, API_MSG_NAME => '旧密码或新密码不能为空'];    
    public static $changePasswordFail       = [API_CODE_NAME => 1010005, API_MSG_NAME => '密码修改失败'];
	public static $codeError                = [API_CODE_NAME => 1010006, API_MSG_NAME => '验证码错误'];
	public static $codeTimeError            = [API_CODE_NAME => 1010007, API_MSG_NAME => '验证码已过期'];
	public static $codeFail                 = [API_CODE_NAME => 1010008, API_MSG_NAME => '短信发送失败，勿频繁发送，请稍后重试'];
	public static $registerError            = [API_CODE_NAME => 1010009, API_MSG_NAME => '该手机号已注册'];
	public static $userError                = [API_CODE_NAME => 1010010, API_MSG_NAME => '不存在该用户'];
	public static $usernameError            = [API_CODE_NAME => 1010011, API_MSG_NAME => '账号已被禁用'];
	public static $invitationError          = [API_CODE_NAME => 1010012, API_MSG_NAME => '请输入正确邀请码'];
	public static $confimError          = [API_CODE_NAME => 1010012, API_MSG_NAME => '你已提交，请勿重复提交'];
    
}
